/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.team1160.breakaway.model;

/**
 *
 * @author FireBird Robotics
 */
public class RobotEvent {

    public static final int V_KICKER = 1;
    public static final int V_DRIBBLER = 2;
    public static final int V_SPEED = 3;
    public static final int V_POT = 4;
    public static final int V_GYRO = 5;
    public static final int V_STATE = 5;

    public static final char VC_KICKER = 'K';
    public static final char VC_DRIBBLER = 'D';
    public static final char VC_SPEED = 'S';
    public static final char VC_POT = 'P';
    public static final char VC_GYRO = 'G';
    public static final char VC_STATE = 'T';

    protected int eventCode;
    protected char eventChar;

    public RobotEvent(int eventCode, char eventChar){
        this.eventCode = eventCode;
        this.eventChar = eventChar;
    }

    //Acessors
    //--------------------------------------------------------------------------
    public int getEventCode(){
        return this.eventCode;
    }

    public char getEventChar(){
        return this.eventChar;
    }

    public Robot getModel(){
        return Robot.getModel();
    }

}
